import { View, Text } from "@tarojs/components";
import { useState } from "react";
import { useSelector, useDispatch } from 'react-redux'

export default function HooksPage() {
  // 声明一个叫 "count" 的 state 变量
  let [count, setCount] = useState(0);

  const title = useSelector(state => state.users.title)
  const dispatch = useDispatch();
  const cs = (vlaues)=>{
    dispatch({
      type:`users/synTitle`,
      payload:vlaues
    })
  }
  return (
    <View>

    </View>
  );
}


